import request from '@/utils/request'

// 查询所有活动
export function indexCarousels(data) {
  return request({
    url: '/admin/carousel/',
    method: 'get',
    data
  })
}

export function deleteCarousels(data) {
  return request({
    url: '/admin/carousel/delete',
    method: 'get',
    data
  })
}
